projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
039950d
)
VT-d: Fix ia64 build for 20974:3b475d9ed6b5
author
Keir Fraser
<keir.fraser@citrix.com>
Thu, 25 Feb 2010 11:54:19 +0000
(11:54 +0000)
committer
Keir Fraser
<keir.fraser@citrix.com>
Thu, 25 Feb 2010 11:54:19 +0000
(11:54 +0000)
This patch fixes the following error on ia64:
iommu.c: In function 'init_vtd_hw':
iommu.c:1831: error: 'nr_ioapics' undeclared (first use in this
function)
Signed-off-by: KUWAMURA Shin'ya <kuwa@jp.fujitsu.com>
xen/drivers/passthrough/vtd/iommu.c
patch
|
blob
|
history
diff --git
a/xen/drivers/passthrough/vtd/iommu.c
b/xen/drivers/passthrough/vtd/iommu.c
index fd77b014baa2e49e7f40a3926fb4dd7fb4fdb0ae..460e7032ccea172290aa940fda433a2e5dcf2466 100644
(file)
--- a/
xen/drivers/passthrough/vtd/iommu.c
+++ b/
xen/drivers/passthrough/vtd/iommu.c
@@
-38,6
+38,10
@@
#include "extern.h"
#include "vtd.h"
+#ifdef __ia64__
+#define nr_ioapics iosapic_get_nr_iosapics()
+#endif
+
int nr_iommus;
static bool_t rwbf_quirk;